package com.yeyks.consumer.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户推广白名单表
 * </p>
 *
 * @author yun
 * @since 2019-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserInviteWhiteList对象", description="用户推广白名单表")
public class UserInviteWhiteList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "user_id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "用户手机")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "身份证号")
    @TableField("id_number")
    private String idNumber;

    @ApiModelProperty(value = "学校")
    @TableField("school")
    private String school;

    @ApiModelProperty(value = "省份代码")
    @TableField("province_code")
    private String provinceCode;

    @ApiModelProperty(value = "城市代码")
    @TableField("city_code")
    private String cityCode;

    @ApiModelProperty(value = "区代码")
    @TableField("country_code")
    private String countryCode;

    @ApiModelProperty(value = "地址信息")
    @TableField("area")
    private String area;

    @ApiModelProperty(value = "1：学生  2：社会")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "0：无效 1：有效")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String USER_ID = "user_id";

    public static final String PHONE = "phone";

    public static final String NAME = "name";

    public static final String ID_NUMBER = "id_number";

    public static final String SCHOOL = "school";

    public static final String PROVINCE_CODE = "province_code";

    public static final String CITY_CODE = "city_code";

    public static final String COUNTRY_CODE = "country_code";

    public static final String AREA = "area";

    public static final String TYPE = "type";

    public static final String STATUS = "status";

    public static final String CREATE_TIME = "create_time";

}
